#!/bin/bash

. /etc/init.d/functions

if [ $# -ne 1 ] ; then
    echo "Usage: $0 command"
    exit 1
fi

for i in 199 200; do
    ssh -p22 lavenliu@192.168.56.${i} $1
    if [ $? -ne 0 ]; then
        action "no such command" /bin/false
    fi
done

